import request from '@/utils/request.js'

//用户登录
export function login(data) {
  return request({
    url: '/park/login',
    method: 'post',
    data
  })
}
//修改密码
export function changePassword(data) {
  return request({
    url: '/park/profile/updatePwd',
    method: 'put',
    data
  })
}
